package de.ohmhochschule.bme;

import java.util.ArrayList;

import android.app.Activity;
import android.graphics.Path;
import android.os.Bundle;

public class PaintActivity extends Activity {
	private PaintView paintView;
	private ArrayList<Float> points;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        setContentView(R.layout.main);

        points = new ArrayList<Float>();
		paintView = new PaintView(this);
		setContentView(paintView);
		paintView.requestFocus();
    }

	public ArrayList<Float> getPoints() {
		return points;
	}
	
	public void addLineToPath(float x, float y) {
		points.add(x);
		points.add(y);
	}
      
}